package com.chaos.system.api.data;

import com.chaos.framework.model.data.DATA;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TTenantData", description = "租户：B 端用户")
public class TTenantData extends DATA {


    @ApiModelProperty(value = "phone")
    private String phone;


    @ApiModelProperty(value = "头像")
    private String avatar;


    @ApiModelProperty(value = "用户备注")
    private String remark;


    @ApiModelProperty(value = "最后登陆")
    private LocalDateTime lastLoginTime;


    @ApiModelProperty(value = "用户状态 1 已删除 0 在使用中")
    private Integer status;


    @ApiModelProperty(value = "租户名")
    private String name;


    @ApiModelProperty(value = "统一社会信用代码")
    private String unifiedSocialCreditCode;

    @ApiModelProperty(value = "服务有效期开始")
    private LocalDate serviceValidityPeriodBegin;

    @ApiModelProperty(value = "服务有效期结束")
    private LocalDate serviceValidityPeriodEnd;

    @ApiModelProperty(value = "企业简称")
    private String shortName;

    @ApiModelProperty(value = "联系人手机号")
    private String contactPhone;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "公司名全称")
    private String companyFullName;

    @ApiModelProperty(value = "企业编码")
    private String enterpriseCode;

    @ApiModelProperty(value = "联系人电话")
    private String contactTelephone;

    @ApiModelProperty(value = "联系地址")
    private String contactAddress;


}